const eventsDB = [
  {
    "id": "EVT-20230730-001",
    "timestamp": "2023-07-30T08:15:23Z",
    "location": {
      "longitude": 114.3615,
      "latitude": 30.5342,
      "area_type": "校园主干道"
    },
    "event_info": {
      "type": "车辆追尾",
      "severity": 0.75,
      "confidence": 0.92,
      "crowd_density": 0.45,
      "has_injury": true
    },
    "alert_level": 4,
    "processing_options": [
      {
        "name": "医疗救援",
        "level": "high",
        "level_desc": "立即派遣救护车处理伤员",
        "necessity": 0.95
      },
      {
        "name": "交通疏导",
        "level": "medium",
        "level_desc": "引导车辆绕行事故区域",
        "necessity": 0.8
      }
    ],
    "resource_allocation": ["救护车1辆", "交警2名", "拖车1辆"],
    "predicted_impact": {
      "traffic_impact": 0.78,
      "duration": 45,
      "radius": 1.2
    },
    "timeline": [
      {
        "time": "2023-07-30T08:15:23Z",
        "action": "事件报告",
        "status": "完成"
      },
      {
        "time": "2023-07-30T08:18:45Z",
        "action": "初步评估",
        "status": "完成"
      },
      {
        "time": "2023-07-30T08:20:00Z",
        "action": "派遣救援",
        "status": "进行中"
      }
    ]
  },
  {
    "id": "EVT-20230730-002",
    "timestamp": "2023-07-30T09:30:12Z",
    "location": {
      "longitude": 114.3589,
      "latitude": 30.5367,
      "area_type": "校门口"
    },
    "event_info": {
      "type": "行人闯红灯",
      "severity": 0.35,
      "confidence": 0.85,
      "crowd_density": 0.25,
      "has_injury": false
    },
    "alert_level": 2,
    "processing_options": [
      {
        "name": "交通劝导",
        "level": "low",
        "level_desc": "劝导行人遵守交通规则",
        "necessity": 0.6
      }
    ],
    "resource_allocation": ["志愿者1名"],
    "predicted_impact": {
      "traffic_impact": 0.15,
      "duration": 10,
      "radius": 0.3
    },
    "timeline": [
      {
        "time": "2023-07-30T09:30:12Z",
        "action": "事件报告",
        "status": "完成"
      }
    ]
  },
  {
    "id": "EVT-20230730-003",
    "timestamp": "2023-07-30T10:45:33Z",
    "location": {
      "longitude": 114.3632,
      "latitude": 30.5328,
      "area_type": "停车场"
    },
    "event_info": {
      "type": "停车纠纷",
      "severity": 0.2,
      "confidence": 0.78,
      "crowd_density": 0.15,
      "has_injury": false
    },
    "alert_level": 1,
    "processing_options": [
      {
        "name": "现场调解",
        "level": "low",
        "level_desc": "调解车主之间的纠纷",
        "necessity": 0.7
      }
    ],
    "resource_allocation": ["保安1名"],
    "predicted_impact": {
      "traffic_impact": 0.1,
      "duration": 15,
      "radius": 0.1
    },
    "timeline": [
      {
        "time": "2023-07-30T10:45:33Z",
        "action": "事件报告",
        "status": "完成"
      },
      {
        "time": "2023-07-30T10:47:10Z",
        "action": "派人调解",
        "status": "进行中"
      }
    ]
  },
  {
    "id": "EVT-20230730-004",
    "timestamp": "2023-07-30T11:20:45Z",
    "location": {
      "longitude": 114.3602,
      "latitude": 30.5315,
      "area_type": "教学区路口"
    },
    "event_info": {
      "type": "车辆故障",
      "severity": 0.45,
      "confidence": 0.90,
      "crowd_density": 0.30,
      "has_injury": false
    },
    "alert_level": 3,
    "processing_options": [
      {
        "name": "车辆拖移",
        "level": "medium",
        "level_desc": "拖移故障车辆至安全区域",
        "necessity": 0.75
      },
      {
        "name": "临时交通引导",
        "level": "low",
        "level_desc": "引导其他车辆绕行",
        "necessity": 0.65
      }
    ],
    "resource_allocation": ["拖车1辆", "保安2名"],
    "predicted_impact": {
      "traffic_impact": 0.35,
      "duration": 25,
      "radius": 0.5
    },
    "timeline": [
      {
        "time": "2023-07-30T11:20:45Z",
        "action": "事件报告",
        "status": "完成"
      },
      {
        "time": "2023-07-30T11:22:10Z",
        "action": "派工调度",
        "status": "进行中"
      }
    ]
  },
  {
    "id": "EVT-20230730-005",
    "timestamp": "2023-07-30T13:10:22Z",
    "location": {
      "longitude": 114.3578,
      "latitude": 30.5382,
      "area_type": "图书馆周边"
    },
    "event_info": {
      "type": "共享单车乱停放",
      "severity": 0.15,
      "confidence": 0.88,
      "crowd_density": 0.60,
      "has_injury": false
    },
    "alert_level": 1,
    "processing_options": [
      {
        "name": "车辆整理",
        "level": "low",
        "level_desc": "将共享单车整理至指定区域",
        "necessity": 0.55
      }
    ],
    "resource_allocation": ["物业人员2名"],
    "predicted_impact": {
      "traffic_impact": 0.10,
      "duration": 15,
      "radius": 0.2
    },
    "timeline": [
      {
        "time": "2023-07-30T13:10:22Z",
        "action": "事件报告",
        "status": "完成"
      }
    ]
  },
  {
    "id": "EVT-20230730-006",
    "timestamp": "2023-07-30T15:35:17Z",
    "location": {
      "longitude": 114.3645,
      "latitude": 30.5359,
      "area_type": "体育场周边"
    },
    "event_info": {
      "type": "大型活动散场",
      "severity": 0.60,
      "confidence": 0.95,
      "crowd_density": 0.85,
      "has_injury": false
    },
    "alert_level": 3,
    "processing_options": [
      {
        "name": "人流疏导",
        "level": "high",
        "level_desc": "引导散场人流有序离开",
        "necessity": 0.90
      },
      {
        "name": "交通管制",
        "level": "medium",
        "level_desc": "临时管制周边路段",
        "necessity": 0.85
      }
    ],
    "resource_allocation": ["保安8名", "交警3名", "志愿者5名"],
    "predicted_impact": {
      "traffic_impact": 0.65,
      "duration": 60,
      "radius": 0.8
    },
    "timeline": [
      {
        "time": "2023-07-30T15:35:17Z",
        "action": "事件报告",
        "status": "完成"
      },
      {
        "time": "2023-07-30T15:38:05Z",
        "action": "人员调配",
        "status": "进行中"
      }
    ]
  },
  {
    "id": "EVT-20230730-007",
    "timestamp": "2023-07-30T16:40:55Z",
    "location": {
      "longitude": 114.3592,
      "latitude": 30.5331,
      "area_type": "食堂门口"
    },
    "event_info": {
      "type": "交通拥堵",
      "severity": 0.55,
      "confidence": 0.93,
      "crowd_density": 0.90,
      "has_injury": false
    },
    "alert_level": 2,
    "processing_options": [
      {
        "name": "交通分流",
        "level": "medium",
        "level_desc": "引导车辆从其他道路通行",
        "necessity": 0.85
      },
      {
        "name": "临时指挥",
        "level": "medium",
        "level_desc": "现场指挥交通秩序",
        "necessity": 0.80
      }
    ],
    "resource_allocation": ["保安4名", "学生会干部2名"],
    "predicted_impact": {
      "traffic_impact": 0.60,
      "duration": 30,
      "radius": 0.6
    },
    "timeline": [
      {
        "time": "2023-07-30T16:40:55Z",
        "action": "事件报告",
        "status": "完成"
      },
      {
        "time": "2023-07-30T16:42:30Z",
        "action": "交通指挥",
        "status": "进行中"
      }
    ]
  },
  {
    "id": "EVT-20230730-008",
    "timestamp": "2023-07-30T18:15:10Z",
    "location": {
      "longitude": 114.3627,
      "latitude": 30.5375,
      "area_type": "宿舍区入口"
    },
    "event_info": {
      "type": "物品遗落",
      "severity": 0.10,
      "confidence": 0.82,
      "crowd_density": 0.40,
      "has_injury": false
    },
    "alert_level": 1,
    "processing_options": [
      {
        "name": "物品拾取",
        "level": "low",
        "level_desc": "拾取遗落物品并登记招领",
        "necessity": 0.65
      }
    ],
    "resource_allocation": ["宿管1名"],
    "predicted_impact": {
      "traffic_impact": 0.05,
      "duration": 5,
      "radius": 0.1
    },
    "timeline": [
      {
        "time": "2023-07-30T18:15:10Z",
        "action": "事件报告",
        "status": "完成"
      },
      {
        "time": "2023-07-30T18:17:00Z",
        "action": "物品拾取",
        "status": "已完成"
      }
    ]
  }
];